package com.example.carbonbackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.carbonbackend.model.dto.company.CompanyQueryRequest;
import com.example.carbonbackend.model.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.carbonbackend.model.vo.CompanyVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author 25103
* @description 针对表【company(公司信息表)】的数据库操作Service
* @createDate 2024-03-30 15:20:01
*/
public interface CompanyService extends IService<Company> {

    QueryWrapper<Company> getCompanyPage(CompanyQueryRequest companyQueryRequest);
    public Page<CompanyVO> convertToPageVO(Page<Company> companyPage, HttpServletRequest request);
}
